{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/userscores/userscores.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="layui-tab layui-tab-brief" lay-filter="msgTab">
  <ul class="layui-tab-title">
    <li class="layui-this">{$object['userName']}({$object['loginName']})积分流水</li>
  </ul>
  <div class="layui-tab-content" style='padding:0px;'>
    <div class="layui-tab-item layui-show">
   <div class="wst-toolbar">
  <input type="text" id="startDate" name="startDate" placeholder='开始日期' class="laydate-icon ipt" maxLength="20"  />
  至
  <input type="text" id="endDate" name="endDate" placeholder='结束日期' class="laydate-icon ipt" maxLength="20"  />
  <button class="btn btn-primary btn-mright" onclick='javascript:loadGrid({$object['userId']})'><i class='fa fa-search'></i>查询</button>
  <button class="btn btn-gray f-right" onclick="javascript:location.href='{:Url(\'admin/users/index\',\'p=\'.$p)}'"><i class="fa fa-angle-double-left"></i>返回</button>
  <button class="btn btn-success btn-mright f-right" onclick="javascript:toAdd({$object['userId']})"><i class='fa fa-plus'></i>新增</button> 
  
  <div style='clear: both'></div>
  </div>
  <div class='wst-grid'>
  <div id="mmg" class="mmg"></div>
  <div id="pg" style="text-align: right;"></div>
  </div>
   </div>
</div>
<script>
  $(function(){gridInit({$object['userId']});})
</script>
{/block}